@import url(http://fonts.googleapis.com/css?family=Roboto:100,400,700);
@import url("http://fonts.googleapis.com/css?family=Lato");

$background: #2A3744;
$background-header: #34495e;
$base-color: #2c3e50;
$budget-under: #3AAD3F;
$budget-over: #D8532A;
$budget-default: #80A9CC;

// The Mixin 
@mixin placeholder {
    &:-ms-input-placeholder {
        @content
    }
    &::-moz-placeholder {
        @content
    }
    &::-webkit-input-placeholder {
        @content
    }
}

body {
  //background-color: #dcdcdc;
  background: $background;
  font-family: 'Lato', sans-serif;
  color: #ffffff;
  font-size: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 1em;
  text-align: left;
  display: table;
}

#header {
  width: 60%;
  //display: block;
  //background-color: black;
  background: $background-header;
  padding: 0.5em;
  img {
    padding: 0 0.5em;
  }
  margin: 0 auto;
  border-radius: 1em 1em 0 0;
}

h1 {
  font-weight: normal;
  font-size: 2.5em;
  text-transform: uppercase;
  float: center;
  margin: 0.5em 0;
  span {
    font-size: 0.4em;
    display: block;
    padding-left: 3px;
  }
  display: block;
}

@mixin placeholder-style {
    color: lighten($base-color, 15%);
}

#container{
  width: 60%;
  display: table;
  //background-color: black;
  background: $background-header;
  padding: 0.5em;
  margin: 0 auto;
  margin-bottom: 2em;
  border-radius: 0 0 1em 1em;
}

#left{
  float: left;
  width: 65%;
  //background-color: gray;
  //margin: 0 1em;
}

#right{
  float: right;
  width: 35%;
  //background-color: blue;
  text-align: right;
  //margin: 0 1em;
}

.defaultForm {
  padding: 1em;
  text-align: left;
  display: block;
}

/*
#searchform {
  padding: 1em;
  text-align: left;
  display: block;
}

#budgetDisplayForm {
  padding: 1em;
  text-align: left;
  display: block;
}
*/

#rSet {
  //padding: 1em;
  float: right;
  display: block;
  //background: #34495e;
}

#budgetDisplay {
  //background-color: black;
  width: 100px;
  margin-top: 1em;
  margin-bottom: 1em;
  padding: 1em 1em;
  font-size: 1em;
  background: #80A9CC;
}

#budgetform {
  padding: 0.5em;
  /*background-color: blue;*/
}

.input
{
  display: block;
  clear: both;
  width: 15em;
  margin-top: 1em;
  margin-bottom: 1em;
  padding: 1em 1em;
  font-size: 1em;
  outline: none;
  border: none;
  background-color: $base-color;
  color: lighten($base-color, 50%);
  //@include transition(all 0.2s ease-in);
  transition: all 0.2s ease-out;
  @include placeholder {
      @include placeholder-style;
  }
  &:hover {
      background-color: darken($base-color, 5%);
      color: lighten($base-color, 10%);
  }
  &:focus {
      background-color: darken($base-color, 10%);
      color: lighten($base-color, 20%);
  }
}

.subButton
{
  font-family: 'Lato', sans-serif;
  font-weight: normal;
  height: 1.5em;
  font-size: 1em;
  color: #e3e3e3;
  background-color: #66cc99;
  border: none;
  border-bottom: .2em solid #59b89c;
  border-right: .1em solid #59b89c;
  padding: 0 .5em;
  //border-radius: .5em;
}

.subButton:hover {
  color: #fff;
  //transition: all 1s ease-out;
}

.subButton:focus:active {
  color: #f3f3f3;
  background-color: #59b89c;
  border: none;
  border-bottom: .2em solid #66cc99;
  border-right: .1em solid #66cc99;
}

#resetButton {
  width: 100%;
}

#rescontainer{
  margin: 0 auto;
  width: 90%;
  background: $background-header;
  padding: 1em;
}

#result{
  //margin: 0 auto;
}

table {
  margin: 0 auto;
  
  //background-color: grey;
  width: 100%;
  table-layout: fixed;
  text-transform: uppercase;
  select {
    font-family: 'Roboto', sans-serif;
    text-transform: none;
    width: 100%;
  }
}

option {
  height: 30px;
}

#wrapCol {
  width: 100%;
  overflow: auto;
}



